// CherryMerry ( Mikhail Tomilenko ), Reverse Entertainment, 2021-2024

#pragma once

#include "CoreMinimal.h"
#include "GameFramework/Character.h"
#include "Base_Enemy.generated.h"

UCLASS()
class NIFESTGAME_API ABase_Enemy : public ACharacter
{
	GENERATED_BODY()

	UPROPERTY(BlueprintReadOnly, meta = (AllowPrivateAccess = "true"), Category = "CharacterSettings | Components")
	class UEnemyHealthManager* HealthManager;

public:
	ABase_Enemy();

protected:
	virtual void BeginPlay() override;

	UPROPERTY(EditDefaultsOnly)
	float MaxHealth;

	UPROPERTY()
	float CurrentHealth;

	UPROPERTY(EditDefaultsOnly)
	float MaxShield;

	UPROPERTY()
	float CurrentShield;

public:	
	virtual void Tick(float DeltaTime) override;

	virtual void SetupPlayerInputComponent(class UInputComponent* PlayerInputComponent) override;
};
